package com.sun.service;

import com.sun.pojo.Room;
import com.sun.pojo.User;
import com.sun.utils.DataGridViewResult;
import com.sun.vo.RoomVo;

public interface UserService {
    /**
     * 注册用户
     * @param user
     * @return
     */
    int addUser(User user);

    User checkUserExist(String loginName);

    User login(String loginName, String password);
}
